function submitVote(formGroup){
    var a=formGroup.length;
    if(a==null) return formGroup.checked;//maar 1 input
    for (i = 0; i < a; i++) {
        if(formGroup[i].checked) return true;
    }
    return false;
}
function toon(afb){
    afb.style.visibility='visible';
}
function verberg(afb){
    afb.style.visibility='hidden';
}
function ZoomIn(index){
    /*var imgs=document.getElementsByClassName('kandidaat');
    var fotos=new Array();
    var a=imgs.length;
    var b=Math.round(window.innerWidth*.95);
    for (i = 0; i < a; i++) {
        fotos.push(['resize.php?path='+imgs[i].src+'&breedte='+b,imgs[i].title]);
    }
    jQuery.slimbox(fotos, index,{
        imageFadeDuration: 200,
        easing: "easeOutElastic",
        captionAnimationDuration: 1
        });*/
    $.fancybox.pos(index);
}
